import { Path, Svg } from 'react-native-svg'

// eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
import { createIcon } from '../factories/createIcon'

export const [Coupon, AnimatedCoupon] = createIcon({
  name: 'Coupon',
  getIcon: (props) => (
    <Svg viewBox="0 0 24 24" fill="none" {...props}>
      <Path
        d="M21 9.99988V6.99988C21 4.99988 20 3.99988 18 3.99988H16.05C15.884 3.99988 15.75 4.13387 15.75 4.29987V7.49988C15.75 7.90988 15.41 8.24988 15 8.24988C14.59 8.24988 14.25 7.90988 14.25 7.49988V4.29987C14.25 4.13387 14.116 3.99988 13.95 3.99988H6C4 3.99988 3 4.99988 3 6.99988V9.99988C4.1 9.99988 5 10.8999 5 11.9999C5 13.0999 4.1 13.9999 3 13.9999V16.9999C3 18.9999 4 19.9999 6 19.9999H13.95C14.116 19.9999 14.25 19.8659 14.25 19.6999V16.4999C14.25 16.0899 14.59 15.7499 15 15.7499C15.41 15.7499 15.75 16.0899 15.75 16.4999V19.6999C15.75 19.8659 15.884 19.9999 16.05 19.9999H18C20 19.9999 21 18.9999 21 16.9999V13.9999C19.9 13.9999 19 13.0999 19 11.9999C19 10.8999 19.9 9.99988 21 9.99988ZM15.75 13.2499C15.75 13.6639 15.414 13.9999 15 13.9999C14.586 13.9999 14.25 13.6639 14.25 13.2499V10.7499C14.25 10.3359 14.586 9.99988 15 9.99988C15.414 9.99988 15.75 10.3359 15.75 10.7499V13.2499Z"
        fill="currentColor"
      />
    </Svg>
  ),
})
